import { defineStore } from "pinia";

// 定义store
export const showStore = defineStore('showStore', {
    state: () => {
        return {
            show: false
        }
    },

    getters: {
        getShow(state) {
            return state.show
        }
    },
    actions: {
        setShow(show: boolean) {
            this.show = show
        }
    }
})




